//
//  ZoomingScrollView.h
//  ST_MWPhotoBrowser
//
//  Created by Michael Waterfall on 14/10/2010.
//  Copyright 2010 d3i. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ST_MWPhotoProtocol.h"
#import "ST_MWTapDetectingImageView.h"
#import "ST_MWTapDetectingView.h"

@class ST_MWPhotoBrowser, ST_MWPhoto, ST_MWCaptionView;

@interface ST_MWZoomingScrollView : UIScrollView <UIScrollViewDelegate, ST_MWTapDetectingImageViewDelegate, ST_MWTapDetectingViewDelegate> {

}

@property () NSUInteger index;
@property (nonatomic) id <ST_MWPhoto> photo;
@property (nonatomic, weak) ST_MWCaptionView *captionView;
@property (nonatomic, weak) UIButton *selectedButton;
@property (nonatomic, weak) UIButton *play_button;

- (id)initWithPhotoBrowser:(ST_MWPhotoBrowser *)browser;
- (void)displayImage;
- (void)display_image_failure;
- (void)set_max_min_zoom_scales_for_current_bounds;
- (void)prepareForReuse;
- (BOOL)displayingVideo;
- (void)setImageHidden:(BOOL)hidden;

@end
